<?php
namespace admin\service;

use admin\service\interfaces\IMenuService;
use common\service\CommonService;
use herosphp\cache\CacheFactory;
use herosphp\core\Loader;

Loader::import('admin.service.interfaces.IMenuService');

/**
 * admin(Service)接口实现
 * @package admin\service
 * @author yangjian<yangjian102621@gmail.com>
 */
class MenuService extends CommonService implements IMenuService {


    public function updateMenuCache()
    {
        $cacheHandler = CacheFactory::create('file');
        $cacheHandler->set(self::MANAGER_MENU_CACHE_KEY, 'hehe', 0); //永久缓存
    }

    public function getMenuCache()
    {
        // TODO: Implement getMenuCache() method.
    }
}
